package com.coding.beautiful.util;

import lombok.Data;

/**
 * @author : champ
 * @version V1.0
 * @Description:
 * @date 2021年08月10日 15:28
 */
@Data
public class ResTool {

    private Integer code;
    private String msg;
    private Object content;

    public ResTool(Object content) {
        this.code = 200;
        this.msg = "操作成功";
        this.content = content;
    }

    public ResTool(Integer code, String msg, Object content) {
        this.code = code;
        this.msg = msg;
        this.content = content;
    }
}
